/***********************************************
 ** Purpose: THis class will provide information
 ** for creating the interface of the mouse.
 ** The mouse will be able to be activated and
 ** used through the connection of the Input
 ** Interface within the game framework.
 ***********************************************/
#ifndef CMOUSE_H
#define CMOUSE_H

#include "CKeyboard.h"

class cMouse {
	public:
		//Constructor for the Mouse class
		cMouse(DWORD mouseCoopFlags, IDirectInput8 *pDInput, HWND hWnd);

		//Destructor for the Mouse class
		~cMouse();

		//Testing for button presses
		bool isMousePressed(int button);

		//Testing for mouse movement
		float MouseX();
		float MouseY();
		float MouseZ();

		//Checks to ensure that the Mouse is acquired
		void Poll();

	private:
		//Mouse Object
		IDirectInputDevice8		*m_pMouse;

		//Mouse States
		DIMOUSESTATE2			m_MouseState;
};
#endif